<?php
namespace app\index\validate;

use think\Validate;

/**
 * 登录验证
 * Class Login
 * @package app\index\validate
 */
class Login extends Validate
{
    protected $rule = [
        'account' => 'require',
        'password' => 'require',
    ];

    protected $message = [
        'account.require' => 'Please enter the username',
        'password.require' => 'Please enter your password',
    ];
}